home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17343 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  729 b 

  1. Path: nntp.teleport.com!usenet
  2. From: GHouck <hksys@teleport.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Copy files ?
  5. Date: 15 Apr 1996 12:26:35 GMT
  6. Organization: systems hk
  7. Message-ID: <4ktf9r$kkg@nadine.teleport.com>
  8. References: <4ksuj7$2tl@hermes.is.co.za>
  9. NNTP-Posting-Host: ip-pdx02-50.teleport.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.22 (Windows; I; 32bit)
  14.  
  15. janinep@geoscience.org.za (Janine Prinsloo) wrote:
  16. >Is it possible to copy a datafile from one drive to another in a C++
  17. >program without having to read it and write it again?
  18. >
  19. >(I am using Borland C++ v4.0)
  20. >
  21. Janine,
  22.  
  23. Try:
  24.  
  25.   status = system( "copy file1 file2" );
  26.  
  27. Yours, Geoff Houck
  28.  
  29.  
  30.